export interface code {
  code: number
  message: string
  ok: boolean
}
// 获取用户信息
export interface userCode extends code {
  data: userData
}
export interface userCodes extends code {
  data: null
}
export interface userData {
  records: userDataRecords[]
  total: number
  size: number
  current: number
  orders: any[]
  optimizeCountSql: boolean
  hitCount: boolean
  countId?: any
  maxLimit?: any
  searchCount: boolean
  pages: number
}
export interface userDataRecords {
  id?: number
  createTime?: string
  updateTime?: string
  username?: string
  password?: string
  name?: string
  phone?: any
  roleName?: string
}
// 职位
export interface userRole extends code {
  data: roleData
}
export interface AllRolesList {
  id: number
  createTime: string
  updateTime: string
  roleName: string
  remark?: any
}
export interface roleData {
  assignRoles: any[]
  allRolesList: AllRolesList[]
}
// 分配角色data
export interface setRoleData {
  roleIdList: number[]
  userId: number
}
// 成功返回
export interface successCode extends code {
  data: null
}
